﻿/*主窗口*/
QWidget { 
    background-color: white;
}
/*头像窗口*/
.QLabel { 
    background-color: transparent;
    border: none;
}
/*用户名窗口,密码窗口*/
.QLineEdit,
.QComboBox { 
    background-color: white;
    border: none;
    border-bottom: 1px solid rgb(229,229,229);
    font-size: 13pt;
   /* margin-left:-2px;*/
}
/*用户名窗口,密码窗口*/
.QLineEdit:hover, /*悬浮*/
.QComboBox:hover {
    border-bottom-color: rgb(193,193,193);
}
/*用户名窗口,密码窗口*/
.QLineEdit:focus, /*有焦点*/
.QComboBox:focus { 
    border-bottom-color: rgb(18,183,245);
}
/*用户名编辑框的下拉按钮*/
QComboBox::drop-down {
    border-image: url(:/XQLoginWidget/images/drop-down.png) ;
    width:32px;
}
QComboBox::drop-down:hover { /*鼠标悬浮时*/
    border-image: url(:/XQLoginWidget/images/drop-down-hover.png);
}
QComboBox::drop-down:checked { /*被选择了*/
    border-image: url(:/XQLoginWidget/images/drop-down-on-hover.png);
}
/*自动登录和记住密码*/
/*QCheckBox#autoLogin:checked ~ QCheckBox#savePass {*//*当勾选自动登录也将记住密码勾选*/
    /*checked: true;
}*/
.QCheckBox { 
    background-color: transparent;
    border: none;
    color: rgb(131,131,131);
}
.QCheckBox::indicator { /*复选框*/
    border: 1px solid rgb(204,204,204);
    border-radius: 2px;
}
.QCheckBox::indicator:hover { /*复选框鼠标悬浮*/
    border: 1px solid rgb(171,171,171);
}
.QCheckBox::indicator:checked { /*复选框选中时*/
    background-image: url(:/XQLoginWidget/images/check.png);
    background-repeat: no-repeat; /*表示背景图像不重复，即只显示一次。*/
    background-position: center center; /*表示背景图像在背景区域中水平和垂直方向上居中对齐。*/
    background-clip: padding-box; /* 表示背景图像在绘制时只绘制在内边距区域内，不会超出内边距区域。这个属性可以避免背景图像超出边框的情况。 */
}
/*找回密码，注册账号*/
.QPushButton#retrPassBtn, 
.QPushButton#registerBtn { 
    background-color: transparent;
    border: none;
    color: rgb(166,166,166);
}
.QPushButton#retrPassBtn:hover,
.QPushButton#registerBtn:hover {
    color: rgb(131,131,131);
}
/*登录按钮*/
.QPushButton#loginBtn { 
    background-color: qlineargradient(spread:pad, x1:0.503, y1:0.045, x2:0.485, y2:0.926227, stop:0 rgba(11,194,255,255), stop:1 rgba(0,182,250, 255));
    border-radius: 4px;
    color: white;
    font: normal 13pt '宋体';
}
.QPushButton#loginBtn:hover {
    background-color: qlineargradient(spread:pad, x1:0.503, y1:0.045, x2:0.485, y2:0.926227, stop:0 rgba(34, 203, 255, 255), stop:1 rgba(0, 182, 250, 255));
}